package com.yic.module.mes.controller.admin.modetail.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 工单明细 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class MoDetailExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("排产工单")
    private Long moId;

    @ExcelProperty("生产流水号")
    private String moSn;

    @ExcelProperty("料件流水号")
    private String itemSn;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("system_integer_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
